package ru.ya.kolemik;

import java.io.IOException;

public class MplayerBean extends TrayCommandBean {
	@Override
	public void stop() {
		Process proc = getProcess();
		if (proc != null) {
			try {
				proc.getOutputStream().write("q\n".getBytes());
				proc.getOutputStream().flush();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}
}
